body {
    background: #f2f2f2;
    margin: 0;
}

.contact-service {
    /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-align-self: stretch;
    -ms-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    -webkit-box-align: flex-start;
    -webkit-align-items: flex-start;
    -ms-align-items: flex-start;
    -moz-box-align: start;
    align-items: flex-start;
    -ms-flex-align: start;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -webkit-box-lines: single;
    -ms-flex-wrap: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
}

.contact-content {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    /* min-height: 11.34rem; */
    /* background-color: #ECECEC; */
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    -webkit-align-self: stretch;
    -ms-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    overflow: hidden;
    /* position: relative; */
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    background: #fff;
}

.chat-content {
    padding: .5rem .24rem 0;
    width: 100%;
}

.im-chat-list li {
    position: relative;
    margin-bottom: .1rem;
    min-height: 1rem;
    margin-bottom: .4rem;
}

.im-chat-list li:before {
    content: " ";
    display: table;
    line-height: 0;
}

.im-chat-list li .avatar {
    width: 1rem;
    height: 1rem;
    position: absolute;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    top: 0;
}

.im-chat-list li .jimi {
    background: url("../img/kehu@2x.png") no-repeat center/cover;
}


/* 后台加 */

.im-chat-list .jimi .msg-content {
    background-color: #fff;
    float: left;
    margin-left: 1.4rem;
}

.msg-content {
    -webkit-border-radius: .08rem;
    -moz-border-radius: .08rem;
    border-radius: .08rem;
    max-width: 6rem;
    -webkit-box-shadow: 0 .01rem .03rem 0 rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 .01rem .03rem 0 rgba(0, 0, 0, .2);
    box-shadow: 0 .01rem .03rem 0 rgba(0, 0, 0, .2);
    margin: .08rem .25rem 0;
    position: relative;
    padding: .12rem;
    line-height: .5rem;
    font-size: .32rem;
    word-break: break-all;
    word-wrap: break-word;
}

.kefu {
    color: #0baa81;
}


/* .im-chat-list>li.jimi .msg-content:after {
    -webkit-transform: rotate(24deg);
    -moz-transform: rotate(24deg);
    -ms-transform: rotate(24deg);
    -o-transform: rotate(24deg);
    transform: rotate(24deg);
    border-left: .12rem solid #ECECEC;
    border-top: .06rem solid #fff;
    left: -.1rem;
}
.im-chat-list>li .msg-content:after {
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    top: .09rem;
} */

.im-chat-list>li .msg-content:after {
    width: 0.24rem;
    height: 0.32rem;
    background: url("../img/qipao1.png") no-repeat center/cover;
    content: "";
    position: absolute;
    top: .18rem;
}

.im-chat-list>.jimi .msg-content:after {
    left: -.24rem;
}


/* 底部 */

.contact-footer {
    width: 100%;
    -webkit-align-self: stretch;
    -ms-flex-item-align: stretch;
    align-self: stretch;
    border-top: .01rem solid #ddd;
    /* height: .99rem; */
}

.send-wrapper {
    padding: .24rem;
    background-color: #F8F8F9;
    width: 100%;
    display: table;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.send-wrapper span {
    display: table-cell;
    vertical-align: top;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cell-full {
    border: .01rem solid #ddd;
    width: 4.89rem;
}

.cell-full input {
    display: block;
    padding: .12rem;
    width: 100%;
    font-size: .28rem;
    -webkit-border-radius: .04rem;
    -moz-border-radius: .04rem;
    border-radius: .04rem;
}

.btn {
    display: inline-block;
    padding: .08rem .24rem;
    outline: none;
}

.btn-radio {
    width: 0.5rem;
    height: 0.5rem;
    background: url("../img/radio@3x.png") no-repeat center/cover;
}


/* [data-dpr="2"] .btn-radio {
    background: url("../img/radio.png") no-repeat center/cover;
}

[data-dpr="3"] .btn-radio {
    background: url("../img/radio@3x.png") no-repeat center/cover;
} */


/* [data-dpr="2"] .btn-exp {
    background: url("../img/smail.png") no-repeat center/cover;
}

[data-dpr="3"] .btn-exp {
    background: url("../img/smile@3x.png") no-repeat center/cover;
} */

.btn-exp {
    width: 0.5rem;
    height: 0.5rem;
    background: url("../img/smile@3x.png") no-repeat center/cover;
}

.btn-tool {
    width: 0.5rem;
    height: 0.5rem;
    background: url("../img/tool@3x.png") no-repeat center/cover;
}


/* [data-dpr="2"] .btn-tool {
    background: url("../img/tool.png") no-repeat center/cover;
}

[data-dpr="3"] .btn-tool {
    background: url("../img/tool@3x.png") no-repeat center/cover;
} */

.question-control {
    overflow: hidden;
    -webkit-transition: all .15s;
    -o-transition: all .15s;
    -moz-transition: all .15s;
    transition: all .15s;
    background-color: #F8F8F9;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: none;
}

.open {
    max-height: 1.8rem;
    height: 1.8rem;
}


/* 表情和图片 */

.tool-wrapper {
    width: 100%;
    padding: .08rem .24rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 1.4rem;
}

.tool-wrapper p {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.tool-wrapper p a {
    width: 20%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.tool-wrapper p a i {
    width: 0.8rem;
    height: 0.8rem;
    display: block;
    background: #fff;
}


/* 关晓彤聊天界面 */

.im-chat-list li .guan {
    background: url("../img/mate3@2x.png") no-repeat center/cover;
}

.im-chat-list .self .avatar {
    right: 0;
}

.im-chat-list>li.self .msg-content {
    background-color: #fff;
    float: right;
    margin-right: 1.4rem;
    position: relative;
}

.im-chat-list .self .msg-content:after {
    background: url("../img/qipao2.png") no-repeat center/cover;
    right: -.24rem;
}

.im-chat-list>li.self .gre {
    color: #333;
    background: #68f3a8;
}

.im-chat-list>li.self .yuyin {
    max-width: 2.74rem;
}

.im-chat-list li .fan {
    background: url("../img/tx3.jpg") no-repeat center/cover;
}


/* 时间 */

.im-chat-list li.chart-time {
    font-size: .26rem;
    color: #999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: block;
}

.dialog-box {
    margin-left: .24rem;
    padding: .18rem .26rem;
    display: inline-block;
    position: relative;
    min-width: .32rem;
    min-height: .28rem;
    -webkit-border-radius: .2rem;
    -moz-border-radius: .2rem;
    border-radius: .2rem;
    color: #555;
    text-align: center;
    margin: 0 auto;
}

.system {
    display: block;
}

.system .dialog-box {
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    width: 100%;
    word-break: break-word;
}

.cont {
    position: relative;
}

.cont::before {
    height: 0.02rem;
    content: " ";
    background: #ddd;
    position: absolute;
    width: 2.4rem;
    left: 134%;
    display: block;
    top: .14rem;
}

.cont::after {
    height: 0.02rem;
    content: " ";
    background: #ddd;
    position: absolute;
    width: 2.4rem;
    right: 134%;
    display: block;
    top: .14rem;
}

.chat .cell-full {
    width: auto;
}

.btn-video {
    width: 0.5rem;
    height: 0.5rem;
    background: url("../img/video@3x.png") no-repeat center/cover;
}


/* [data-dpr="2"] .btn-video {
    background: url("../img/video@2x.png") no-repeat center/cover;
}

[data-dpr="3"] .btn-video {
    background: url("../img/video@3x.png") no-repeat center/cover;
} */

.btn-pic {
    width: .44rem;
    height: .44rem;
    background: url("../img/pic@3x.png") no-repeat center/cover;
}


/* [data-dpr="2"] .btn-pic {
    background: url("../img/pic@2x.png") no-repeat center/cover;
}

[data-dpr="3"] .btn-pic {
    background: url("../img/pic@3x.png") no-repeat center/cover;
} */


/* 群聊 */

.im-chat-list li .lu {
    background: url("../img/mate2@2x.png") no-repeat center/cover;
}

.group {
    /* background: #; */
    background: url("../img/bg-1@3x.png") no-repeat center/cover;
}


/* [data-dpr="2"] .group {
    background: url("../img/bg-1@2x.png") no-repeat center/cover;
}

[data-dpr="3"] .group {
    background: url("../img/bg-1@3x.png") no-repeat center/cover;
} */

.im-chat-list li .sun {
    background: url("../img/replace.png") no-repeat center/cover;
}


/* [data-dpr="2"] .wu {
    background: url("../img/mate1@2x.png") no-repeat center/cover;
} */

.wu {
    background: url("../img/mate1@3x.png") no-repeat center/cover;
}

.group-icon {
    width: 0.41rem;
    height: 0.36rem;
    background: url("../img/group@3x.png") no-repeat center/cover;
}


/* [data-dpr="2"] .group-icon {
    background: url("../img/group@2x.png") no-repeat center/cover;
}

[data-dpr="3"] .group-icon {
    background: url("../img/group@3x.png") no-repeat center/cover;
} */

.p-head div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    right: .24rem;
}


/* 校友群群成员 */

.group-mate {
    background: #fff;
}

.p-head {
    background: #f2f2f2;
}

.mate-members {
    width: 100%;
    padding: 0 .24rem;
}

.ms {
    padding-top: .2rem;
    border-top: .01rem solid #ddd;
}

.mate-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: .68rem;
    margin-bottom: .1rem;
}

.mate-list li {
    width: 50%;
    height: 0.6rem;
}

.mate-list li a {
    display: block;
    height: .6rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.mate-list li a .ai {
    width: 0.4rem;
    height: 0.4rem;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: url("../img/mate1@2x.png") no-repeat center/cover;
}

.mate-list li a span {
    margin-left: .16rem;
}

.mate-list li a .ai2 {
    background: url("../img/mate3@2x.png") no-repeat center/cover;
}

.mate-list li a .ai3 {
    background: url("../img/mate2@2x.png") no-repeat center/cover;
}